﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Domain.Context;

namespace WebUI.DataModel
{
    public class StoreModel
    {
        private Store _store;
        private NMCTerritory _nmcTerritory;

        public StoreModel()
        {
            _store = new Store();
            _nmcTerritory = new NMCTerritory();
        }

        public int StoreID
        {
            get { return _store.StoreID; }
            set { _store.StoreID = value; }
        }

        public string TerritoryName
        {
            get { return _nmcTerritory.NMC_Area; }
            set { _nmcTerritory.NMC_Area = value; }
        }

        public String LastModified
        {
            get { return _store.LastModified; }
            set { _store.LastModified = value; }
        }

        public NMCTerritory NMCTerritory 
        {
            get { return _nmcTerritory; }
            set { _nmcTerritory = value; }
        }

        public Store Store
        {
            get { return _store; }
            set { _store = value; }
        }
    }
}